<!DOCTYPE html>
<head xmlns:th="http://www.w3.org/1999/xhtml">
    <meta charset="UTF-8">
    <title>Aooms Test Page</title>

    <script type="text/javascript" src="jquery.min.js"></script>
</head>
<body>
    <h1>Aooms Test Page 123 9000</h1>

    <!-- 配合TestController提供一个完整的web调试环境 -->


    <p th:text="${name}" ></p>

    <form id="fileForm" method="post" action="upload?id=111" enctype="multipart/form-data" >
        <input name="my" type="file">
    </form>
    <a id="upload" href="#">上传212</a>

    <script>
        $(function () {
            $("#upload").click(function(){
                alert('upload');
                $("#fileForm").submit();
            });

        });
    </script>

</body>
</html>